package com.example.springdemo.design_model.contrete;

/**
 * 建造者
 * @author zhangding
 * @date
 */
public abstract class HouseBuilder {
    public House  house = new House();

    /**
     * 抽象方法
     */
    public abstract void buildWall();
    public abstract void buildRoofed();

    /**
     * 返回房子
     * @return
     */
    public House buildHouse(){

        return house;
    }
}
